/* -*-c++-*- osgModeling - Copyright (C) 2008 Wang Rui <wangray84@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.

* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* Lesser General Public License for more details.

* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

#ifndef OSGMODELING_EXPORT_
#define OSGMODELING_EXPORT_

#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__)  || defined( __MWERKS__)
    #  if defined( OSG_LIBRARY_STATIC )
    #    define OSGMODELING_EXPORT
    #  elif defined( OSGMODELING_LIBRARY )
    #    define OSGMODELING_EXPORT   __declspec(dllexport)
    #  else
    #    define OSGMODELING_EXPORT   __declspec(dllimport)
    #  endif
#else
    #  define OSGMODELING_EXPORT
#endif

/** @namespace osgModeling
* The osgModeling library.
*/

/** @defgroup examples osgModeling Examples
* Documentations of osgModeling examples.
* @{
*/

/** @defgroup osgmodelingbasic osgmodelingbasic
* The basic modeling example
* Demonstrates how to build extrusions, revolutions and lofts with osgModeling classes (Extrude, Lathe, Loft, Helix and so on).
*/

/** @defgroup osgmodelingboolean osgmodelingboolean
* The boolean operation example
* Demonstrates how to create a boolean object from two specified models.
*/

/** @defgroup osgmodelingbsptree osgmodelingbsptree
* The BSP construction example
* Demonstrates how to build BSP trees for models.
*/

/** @defgroup osgmodelingnurbs osgmodelingnurbs
* The Bezier and NURBS example
* Demonstrates how to create Bezier and NURBS surfaces with osgModeling classes.
*/

/** @defgroup osgmodelingsubd osgmodelingsubd
* The subdivision example
* Demonstrates how to subdivide models using different levels and methods (Loop or Sqrt3).
*/

/** @}
*/

/* Define this for compatibility. */
#include <osg/Version>
#if (OPENSCENEGRAPH_MAJOR_VERSION>1 && OPENSCENEGRAPH_MINOR_VERSION>6)
    #include <osg/MixinVector>
    #define VECTOR osg::MixinVector
#else
    #include <vector>
    #define VECTOR std::vector
#endif

#endif
